

<div class="x-body">
    <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so search-form">
            <input type="text" name="search_data"  placeholder="用户名|赌王|手机号" autocomplete="off" value="{:input('search_data')}"  class="layui-input">
            <input class="layui-input"  autocomplete="off" placeholder="开始日" name="date1"  value="{:input('date1')}" id="start">
            <input class="layui-input"  autocomplete="off" placeholder="截止日" name="date2"  value="{:input('date2')}" id="end">

            <button class="layui-btn"  id="search"  url="{$url}"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
        </form>
    </div>
    <xblock>
        <!--<button class="layui-btn layui-btn-danger" onclick="delAll()"><i class="layui-icon"></i>批量删除</button>-->
        <!--<button class="layui-btn" onclick="x_admin_show('添加用户','./member-add.html',600,400)"><i class="layui-icon"></i>添加</button>-->
        <span class="x-right" style="line-height:40px">共有数据：{$list['count']} 条</span>
    </xblock>
    <table class="layui-table x-admin">
        <thead>
        <tr>
            <!--<th>-->
            <!--<div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>-->
            <!--</th>-->
            <th>序号</th>
            <th>UID</th>
            <th>赌王名称</th>
            <th>用户名</th>
            <th>用户手机号</th>
            <th>赌王头像</th>
            {switch name="param.type"}
            {case value="5"}
            <th>盈利金额</th>
            {/case}
            {case value="6"}
            <th>分红金额</th>
            {/case}
            {case value="7"}
            <th>信用分</th>
            {/case}
            {case value="8"}
            <th>提现金额</th>
            {/case}
            {case value="9"}
            <th>提现金额</th>
            {/case}
            {/switch}

            <th>操作</th>
        </thead>
        {notempty name='list.list'}
        <tbody>
        {volist name='list.list' id='vo' key="k"}
        <tr>
            <!--<td>-->
            <!--<div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>-->
            <!--</td>-->
            <td>{$k}</td>
            <td>{$vo.user_id}</td>
            <td>{$vo.name}</td>
            <td> {$vo.username}</td>
            <td> {$vo.mobile}</td>
            <td>
                <img class="admin-list-img-size" src="{$vo.image}"/>
            </td>
            <td>
                {$vo.recharge_money}
            </td>
            <!--<td class="td-status">-->
            <!--<span class="layui-btn layui-btn-normal layui-btn-mini">已启用</span></td>-->
            <td class="td-manage">
                <!--<a onclick="member_stop(this,'10001')" href="javascript:;"  title="启用">-->
                <!--<i class="layui-icon">&#xe601;</i>-->
                <!--</a>-->

                <ob_link><a title="添加数据"  href="{:url('king_rank_edit', array('id' => $vo['id'],'type'=>$param['type']))}" href="javascript:;">
                    <i class="layui-icon">&#xe698;</i>
                </a></ob_link>



            </td>
        </tr>
        {/volist}
        {else/}
        <tbody><tr class="odd"><td colspan="12" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
        {/notempty}

        </tbody>
    </table>
    <div class="page">
        {notempty name='list.page'}   {$list['page']}{/notempty}
    </div>

</div>
</body>

</html>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;

        //执行一个laydate实例
        laydate.render({
            elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
            elem: '#end' //指定元素
        });
    });








    //导出功能
    $(".export").click(function(){

        window.location.href = searchFormUrl($(".export"));
    });
</script>